4D Chart v13

CT COLOR TO RGB

Home

 
4D Chart v13
CT COLOR TO RGB

CT COLOR TO RGB 


 

CT COLOR TO RGB ( color ; red ; green ; blue ) 
Parameter Type   Description
color  Longint in Color value (internal to 4D Chart)
red  Longint in Receives red value (0 to 65535)
green  Longint in Receives green value (0 to 65535)
blue  Longint in Receives blue value (0 to 65535)

CT COLOR TO RGB breaks down the color value in color and returns values in the variables representing the red, green, and blue components.

Example  

This example gets the component RGB values for a color variable and places them in several local variables:

 $color:=100000
 CT COLOR TO RGB($color;$red;$green;$blue)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Utilities
Number: 14578

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT Color to index
CT Index to color
CT RGB to color